﻿@{
    Layout = "~/Views/Shared/_WebLayout.cshtml";
}
@section css{
    <link rel="stylesheet" type="text/css" href="/templates/yuan/css/sub.css" />
    <link rel="stylesheet" type="text/css" href="/templates/yuan/css/user.css" />
}
@section javascript{
    <script type="text/javascript" src="/templates/yuan/js/carouFredSel-6.2.1-min.js"></script>
}
@using MiniWeb.Core.Entities
@model List<OrderAddress>
<div class="sub-box user-box">
    <div class="area">
        <div class="top-current">
            <a href="/index.aspx">首页</a><i>&gt;</i><span><a  href="/usercenter/index" style="color: red; text-decoration: none;">会员中心</a></span>
        </div>
        <!--m-current -->
        <div class="right-column">
           
       
            <div class="m-conbox">
                <div class="m-content">
                    <div class="m-utitle clear">
                        <h2>
                            收货地址管理</h2>
                    </div>
                    <div class="m-ucontent">
                        <div class="addr-show">
                            <h3>
                                已保存的有效地址</h3>
                            <table class="table-addrshow" cellpadding="0" cellspacing="0" border="0" width="100%">
                                <tbody>
                                    <tr>
                                        <th width="8%">
                                            收货人
                                        </th>
                                        <th width="20%">
                                            所在地区
                                        </th>
                                        <th width="35%">
                                            街道地址
                                        </th>
                                        <th width="8%">
                                            邮编
                                        </th>
                                        <th width="9%">
                                            电话/手机
                                        </th>
                                      
                                        <th width="8%">
                                            是否默认
                                        </th>
                                    </tr>
                                </tbody>
                                @foreach (var item in Model)
                                {
                                    <tr>
                                        <td width="8%">
                                            @item.RealName
                                        </td>
                                        <td width="20%">
                                            @item.Sheng+@item.City
                                        </td>
                                        <td width="35%">
                                            @item.Address
                                        </td>
                                        <td width="8%">
                                            @item.StmpCode
                                        </td>
                                        <td width="9%">
                                            @item.Tel/@item.Phone
                                        </td>
                                        <td width="8%">
                                            @(item.IsDefault?"是":"否")
                                        </td>
                                       
                                       
                                    </tr>
                                }
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            @Html.Action("UserTuiJian", "MainLayout")
            <!--conbox-->
        </div>
    </div>
</div>
